<%--
  Created by IntelliJ IDEA.
  User: User
  Date: 2020/9/18
  Time: 10:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>文件上传</title>
</head>
<body>
<h1>文件上传</h1>
<hr/>
<form action="${pageContext.request.contextPath}/file/upload" method="post" enctype="multipart/form-data">
<%--<form action="${pageContext.request.contextPath}/file/uploads" method="post" enctype="multipart/form-data">--%>
    用户名:<input type="text" name="username"/><br/>
    文&nbsp;&nbsp;&nbsp;件1:<input type="file" name="file"/><br/>
    文&nbsp;&nbsp;&nbsp;件2:<input type="file" name="file"/><br/>
    <input type="submit" value="提交">
</form>
</body>
</html>
